package cn.ht.jywrwater.module.ht.convert.waterqualityfactor;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.waterqualityfactor.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.waterqualityfactor.WaterQualityFactorDO;

/**
 * 水质因子 Convert
 *
 * @author hzx
 */
@Mapper
public interface WaterQualityFactorConvert {

    WaterQualityFactorConvert INSTANCE = Mappers.getMapper(WaterQualityFactorConvert.class);

    WaterQualityFactorDO convert(WaterQualityFactorCreateReqVO bean);

    WaterQualityFactorDO convert(WaterQualityFactorUpdateReqVO bean);

    WaterQualityFactorRespVO convert(WaterQualityFactorDO bean);

    List<WaterQualityFactorRespVO> convertList(List<WaterQualityFactorDO> list);

    PageResult<WaterQualityFactorRespVO> convertPage(PageResult<WaterQualityFactorDO> page);

    List<WaterQualityFactorExcelVO> convertList02(List<WaterQualityFactorDO> list);

}
